import request from '@/utils/request'

// 查询银行端口流水列表
export function listBankPort(query) {
  return request({
    url: '/bill/bankPort/list',
    method: 'get',
    params: query
  })
}

// 查询银行端口流水详细
export function getBankPort(id) {
  return request({
    url: '/bill/bankPort/' + id,
    method: 'get'
  })
}

// 新增银行端口流水
export function addBankPort(data) {
  return request({
    url: '/bill/bankPort',
    method: 'post',
    data: data
  })
}

// 修改银行端口流水
export function updateBankPort(data) {
  return request({
    url: '/bill/bankPort',
    method: 'put',
    data: data
  })
}

// 删除银行端口流水
export function delBankPort(id) {
  return request({
    url: '/bill/bankPort/' + id,
    method: 'delete'
  })
}
